package com.starmark.demo.model;

import com.starmark.actable.annotation.Column;
import lombok.Data;

import java.util.Date;

/**
 * @author starmark
 * @create 2018-04-07 20:24
 **/
@Data
public class Person {
    /** 唯一标识 */
    private Long id;

    /** 姓名 */
    private String name;

    /** 年龄 */
    private int age;

    /** 描述 */
    private String description;

    private Date birthDate;

    private boolean valid;

    /**
     * 自定义字段
     */
    @Column(name="larget_text",type="text")
    private String textContent;

    /**
     * 该字段不自动生成
     */
    @Column(isIgnore = true)
    private String loginName;
}
